package com.mgkj.common.result;

import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    PARAM_ERROR(400, "参数异常"),
    SUCCESS(200,"成功"),
    FAIL(201, "失败"),
    ;

    private Integer code;
    private String message;

    private ResultCodeEnum(Integer code,String message) {
        this.code = code;
        this.message = message;
    }
}
